<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <title>play</title>


</head>

<link href="//vjs.zencdn.net/7.10.2/video-js.min.css" rel="stylesheet">
<script src="//vjs.zencdn.net/7.10.2/video.min.js"></script>


<body>

文件名称： {{ file_name }}
<br>
video_url: {{ video_url }}
<hr />


<video
    id="my-player"
    class="video-js"
    controls
    preload="auto"
    poster="//vjs.zencdn.net/v/oceans.png"
    data-setup='{}'>
<!--  <source src="{{ url_for('/playVideo/?path=file_name') }}" type="video/mp4"></source>-->
  <source src="{{ url_for('platVideo', file_path=file_path) }}" type="video/mp4"></source>
<!--  <source src="{{ video_url }}" type="video/mp4"></source>-->

  <p class="vjs-no-js">
    To view this video please enable JavaScript, and consider upgrading to a
    web browser that
    <a href="https://videojs.com/html5-video-support/" target="_blank">
      supports HTML5 video
    </a>
  </p>
</video>

</body>
</html>